package com.hyjoy.service;

import com.hyjoy.entity.Order;
import com.hyjoy.entity.PageBean;

import java.util.List;

public interface OrderService {

    void save(Order order) throws Exception;

    PageBean<Order> findMyOrdersByPage(int pageNumber, int pageSize, String uid) throws Exception;

    Order getById(String oid) throws Exception;

    void update(Order order) throws Exception;

    List<Order> findAllByState(String state) throws Exception;
}